9139c79694c6a80aafea61646870358b86fe71e9,plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/editors/searchresult/SearchResultEditor.java,SearchResultEditor,showEditorInput,#IEditorInput#,169
Before Change
firePropertyChange( IEditorPart.PROP_INPUT );
// now set the real input and mark history location
setInput( input );
getSite().getPage().getNavigationHistory().markLocation( this );
}
}
After Change
/*
* Optimization: no need to set the input again if the same input is already set
*/
if ( getEditorInput() != null && getEditorInput().equals( input ) )
{
return;
}
// now set the real input and mark history location
setInput( input );
getSite().getPage().getNavigationHistory().markLocation( this );
firePropertyChange( BrowserUIConstants.INPUT_CHANGED );
}
}